package cn.tedu.bonfire.admin.account.service.impl;


import cn.tedu.bonfire.admin.account.dao.persist.repository.IUserRoleRepository;
import cn.tedu.bonfire.admin.account.service.IUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserRoleServiceImpl implements IUserRoleService {

    @Autowired
    private IUserRoleRepository userRoleRepository;

    @Override
    public String selectRoleNameById(Long id) {
        return userRoleRepository.selectRoleNameById(id);
    }
}
